package com.juma.cartridge.retryque.cmd;

import java.util.List;

import com.juma.cartridge.retryque.RetryTask;
import com.juma.cartridge.retryque.TaskLeaseProlong;

public class Command {
    
    private Action action;
    
    private String scanner;
    
    private TaskLeaseProlong prolong;
    
    private List<RetryTask> tasks;

    public Command(Action action,String scanner,TaskLeaseProlong prolong,List<RetryTask> tasks) {
        this.action = action;
        this.scanner = scanner;
        this.prolong = prolong;
        this.tasks = tasks;
    }

    public Action getAction() {
        return action;
    }
    

    public String getScanner() {
        return scanner;
    }

    public List<RetryTask> getTasks() {
        return tasks;
    }

    public TaskLeaseProlong getProlong() {
        return prolong;
    }
    
    
    
}
